const common = 'https://common-api.ljkjkf.com/'
const mock = 'https://mock.presstime.cn/mock/6701f63e6621f3992d2e738c/location_config/'



export const API_LIST = (path = []) => {
    const { AUTH, API } = window



    return ({
        getMockProjectList: `${mock}getProjcetList`,
        getProjectConfigInfo: `${common}projects/getProjectConfigInfo`,

        // 获取token
        posToken: AUTH,
        // 获取用户数据
        getUserInfo: `${API}/users/web/info`,






        getJsonInfoByUuid: `${common}/wechatMenus/GetJsonInfoByUuid`,



        // getCommonJsonInfoByUuid: `${common}wechatMenus/GetCommonJsonInfoByUuid`,



        // // ! JSON数据
        // getJsonInfoByUuid: `${API}/wechatMenus/GetJsonInfoByUuid`,
        // posSaveJsonInfoBy: `${API}/wechatMenus/SaveJsonInfoByUuid?Uuid=${path[0]}`,
        // // ! 获取文件夹内容
        // getFileNameByPathAndContent: `${API}/wechatMenus/GetFileNameByPathAndContent`,
        // // ! 公共库JSON
        // getCommonJsonInfoByUuid: `${API}/wechatMenus/GetCommonJsonInfoByUuid`,
        // posCommonJsonInfoByUuid: `${API}/wechatMenus/SaveCommonJsonInfoByUuid?Uuid=${path[0]}`,
        // //! 获取公共库文件夹内容
        // getFileNameByPathAndContentCommon: `${API}/wechatMenus/GetFileNameByPathAndContent`,




    })
}